package com.itheima.homework.test4;

/**
 * @author jiangxun
 * @date 11-19-2024
 */

public class Test4 {
    public static void main(String[] args) {
        Mouse mouse = new Mouse();
        KeyBoard keyBoard=new KeyBoard();
        Computer computer=new Computer();

        computer.use(mouse);
        computer.use(keyBoard);
    }
}
